import argparse
from read_files import read
if __name__ == "__main__":
    parser = argparse.ArgumentParser("this is a test for help")
    parser.add_argument("--inputDirectory",type=str,help="输入文件夹路径")
    parser.add_argument("--inputFile",type=str, help="输入文件绝对路径")
    # parser.add_argument("--mode", help="operation mode")
    args = parser.parse_args() # 解析参数

    if args.inputDirectory is not None:
        read.getallfile()

    print(args.inputDirectory)

    # 返回入库情况





    print(args)